package earogya.pharmacy.request_for_drugs;


import java.sql.Time;
import java.util.Date;


public class Request_For_Drugs {
	private int requestId;
	private int drugId;
	private int quantity;
	private int enteredByID;
	private int verifiedByID;
	private int minAmount;			//min waight of pill, min volume of the injaction, etc
	private int maxAmount;			//max  waight of pill, min volume of the injaction, etc
	private String amountUnits;		//units, mg,ml,etc
	private String urgency;
	private String unitOrWard;
	private Date requestDate;
	private Time requestTime;
	
	public Request_For_Drugs(){
		
	}
	
	public Request_For_Drugs(int requestId, int drugId, int quantity){
		this.drugId = drugId;
		this.quantity = quantity;
		this.requestId = requestId;
	}
	
	public Request_For_Drugs(int drugId, int quantity, String urgency, String unitOrWard, Date requestDate, Time requestTime){
		this.drugId = drugId;
		this.quantity = quantity;
		this.urgency = urgency;
		this.unitOrWard = unitOrWard;
		this.requestDate = requestDate;
		this.requestTime = requestTime;
	}
	
	public Request_For_Drugs(int requestId,int drugId, int quantity, String urgency, String unitOrWard, Date requestDate, Time requestTime, int enteredByID, int verifiedByID){
		this.requestId = requestId;
		this.drugId = drugId;
		this.quantity = quantity;
		this.urgency = urgency;
		this.unitOrWard = unitOrWard;
		this.requestDate = requestDate;
		this.requestTime = requestTime;
		this.enteredByID = enteredByID;
		this.verifiedByID = verifiedByID;
	}
	
	
	public void setDrugId(int did){
		drugId = did;
	}
	
	public int getDrugId(){
		return drugId;
	}
	
	public void setQuantity(int qunt){
		quantity = qunt;
	}
	
	public int getQuantity(){
		return quantity;
	}
	
	public void setRequestDate(Date rdate){
		requestDate = rdate;
	}
	
	public Date getRequestDate(){
		return requestDate;
	}
	
	public void setRequestTime(Time rtime){
		requestTime = rtime;
	}
	
	public Time getRequestTime(){
		return requestTime;
	}
	
	public void setUnitOrWard(String uow){
		unitOrWard= uow;
	}
	
	public String getUnitOrWard(){
		return unitOrWard;
	}
	
	public void setUrgency(String urgncy){
		urgency = urgncy;
	}
	
	public String getUrgency(){
		return urgency;
	}
	
	public void setRequestId(int rid){
		requestId = rid;
	}
	
	public int getRequestId(){
		return requestId;
	}

	
	public void setMaxAmount(int maxamount){
		maxAmount = maxamount;
	}
	
	public int getMaxAmount(){
		return maxAmount;
	}
	
	public void setMinAmount(int minamount){
		minAmount = minamount;
	}
	
	public int getMinAmount(){
		return minAmount;
	}
		
	public void setAmountUnits(String units){
		amountUnits = units;
	}
	
	public String getAmountUnits(){
		return amountUnits;
	}
	
	public void setEnteredByID(int id){
		enteredByID = id;
	}
	
	public int getEnteredByID(){
		return enteredByID;
	}
	
	public void setVerifiedByID(int id){
		verifiedByID =id;
	}
	
	public int getVerifiedByID(){
		return verifiedByID;
	}


}
